<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Notice extends FOX_Controller {

	function __construct ()
	{
		parent::__construct();

	}

	public function index(){

	    // 获取我的所有通知
        $uid = $this->session->userdata('user_id');
        $data['total'] = $this->message_m->count_user_message($uid);
        $data['messages'] = $this->message_m->user_find_message(0,10,$uid);
//        pp($data);exit();
        $data['foot_menu'] = "notice";
        $this->load->view('notice',$data);
    }

}
